Skip to content

Add security linters#615

Open
jugmac00 wants to merge 3 commits intocanonical-ols:masterfrom
jugmac00:add-security-linters
Open

Add security linters#615
jugmac00 wants to merge 3 commits intocanonical-ols:masterfrom
jugmac00:add-security-linters

Conversation

@jugmac00
Copy link
Copy Markdown
Collaborator

@jugmac00 jugmac00 commented Mar 16, 2026

  • fix linter setup to use pre-commit for all linters
  • add bandit (SAST scanner)
  • add pip-audit (dependency scanner)

This has been done on request by the Canonical security team.

This is in preparation to adding more linters.

This uncovered a few warnings which have been fixed.
pip-audit is a tool for scanning Python environments for packages with
known vulnerabilities, or in other words, it scans the dependencies, and
compares their version with vulnerabilty database.
Copy link
Copy Markdown
Contributor

@maxiberta maxiberta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks!

@jugmac00
Copy link
Copy Markdown
Collaborator Author

I will rebase after #617 has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants